package br.com.academix.shell.controller
{
	import br.com.academix.shell.view.AcademixRIAMediator;
	import br.com.academix.shell.view.ShellJunctionMediator;
	
	import org.puremvc.as3.multicore.interfaces.ICommand;
	import org.puremvc.as3.multicore.interfaces.INotification;
	import org.puremvc.as3.multicore.patterns.command.SimpleCommand;
	
	public class StartupCommand extends SimpleCommand implements ICommand
	{
		override public function execute(notification:INotification):void{
			
			facade.registerMediator(new ShellJunctionMediator());
			
			facade.registerMediator(new AcademixRIAMediator(notification.getBody()));
			
		}
		
	}
}